package com.example.demo.mapper;

import com.example.demo.ao.CensusDataAo;
import com.example.demo.vo.BlobImageBase64;
import com.example.demo.vo.CensusDataVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ThreadConcurrencyMapper {

    // 原有方法保持不变
    List<CensusDataVo> censusData(@Param("ao") CensusDataAo censusDataAo);
    List<BlobImageBase64> getBase64ImagesByIds(@Param("imageIds") List<Integer> imageIds);


    // 添加计数方法
    Integer countCensusData(@Param("ao") CensusDataAo censusDataAo);
}
